@model Vms.Web.Models.CONTENT

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>CONTENT</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">CONTENT_IMG</div>
    <div class="display-field">@(Model.CONTENT_IMG == null ? "None" : Model.CONTENT_IMG.Count.ToString())</div>

    <div class="display-label">CONTENT_TXT</div>
    <div class="display-field">@(Model.CONTENT_TXT == null ? "None" : Model.CONTENT_TXT.Count.ToString())</div>

    <div class="display-label">PROGRAM</div>
    <div class="display-field">@(Model.PROGRAM == null ? "None" : Model.PROGRAM.Name)</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.Id }) |
    @Html.ActionLink("Back to List", "Index")
</p>


